package com.andyage.admin.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.andyage.admin.bean.AdstaffBean;

public interface IAdStaffService {
	/**
	 * 管理员登录
	 * @param adstaff
	 * @return
	 */
	void AdStaffLogin(HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 查询所有管理员
	 * @param adstaff
	 * @return
	 */
	void queryAdStaffInfo(AdstaffBean adstaff,HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 添加管理员
	 * @param adstaff
	 * @return
	 * @throws Exception 
	 */
	void addAdStaffInfo(HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 删除管理员用户
	 * @param id
	 * @throws Exception
	 */
	void deleteAdStaffInfo(HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 修改管理员用户
	 * @param adstaff
	 * @throws Exception
	 */
	void updateAdStaffInfo(HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 查询是否存在相同用户
	 * @param request
	 * @param response
	 * @throws Exception
	 */
	void queryCommonStaff(HttpServletRequest request,HttpServletResponse response)throws Exception;
	/**
	 * 内部员工修改密码
	 * @param request
	 * @param response
	 * @throws Exception
	 */
	void updateStaffPwd(HttpServletRequest request,HttpServletResponse response)throws Exception;
}
